import httpx


def post(url, path, body=None, params=None):
    content = "application/json"
    response = httpx.post(url + path, data=body, params=params, headers={'Content-Type': content})
    return response


if __name__ == '__main__':
    url = "http://192.168.1.247:18000"
    path = "/model/list"
    response = post(url, path)
    print(response.text)